Skip to main content

Quotas & Limits

OmniCore limits resource allocation and use and enforces appropriate quotas on a per-tenant basis. Specific policies vary depending on resource availability, user profile, service usage history, and other factors, and are subject to change without notice.

Limits

This section lists the quotas for OmniCore in three categories: tenant/device/telemetry, rate, and time.

Tenant, device, and telemetry limits

QuotaLimitCan be increased
Devices per tenant, per regionUnlimited, but the default is 100,000Yes
Device registries per project, per region100Yes
Devices bound to a gateway10,000Yes
Devices attached to a gateway10,000Yes
Gateways bound to a device10No
Device ID length256 bytesNo
Device registry ID length256 bytesNo
Combined size of metadata key-value pairs256 KBNo
Credentials per device3No
Configuration versions per device10No
Device configuration data64 KBNo
Maximum page size for list request500No
Device state payload64 KBNo
Telemetry event notification configurations10No
Telemetry event payload256 KBNo
MQTT connections per device1No
Open MQTT connections, per project per region10,000Yes
Active HTTP device connections (within the past 5 minutes), per project per region10,000Yes

Rate limits

For all Cloud to Device Communication the following Limits apply

  • Rate Limit: 100 per sec
  • Burst Limit: 100 per sec
  • Quota: 10,000 per day

These include

  • Cloud-to-device throughput, per device
  • Configuration updates per device
  • Attribute updates per device
  • Attribute updates per registry
  • Device manager API read calls per tenant
  • Device manager API create and delete calls per tenant
  • Device manager API update calls per tenant(see the exception in the next row)
  • Device manager API modifyCloudToDeviceConfig calls per tenant
  • State updates per device
  • State updates per tenant
  • Commands per registry
  • Commands per tenant

For all Cloud to Device Communication the following Limits apply

RateLimitCan be increased
HTTP device telemetry publishes per device6,00 per minNo
Device telemetry publishes per tenantUnlimited, but the default is 60,000 per minYes
Device-to-cloud throughput, per device512 KB/sNo
MQTT incoming messages per sec, per connection100 per secNo
Device MQTT connections per device1 per secNo
Device MQTT connections and HTTP requests per tenant60,000 per minYes
State updates per device1 per sec*No
State updates per tenant6,000 per min*Yes
Number of logged events per tenant1,000 per secYes
Size of logged events per tenant1 MB per sec (each log entry is roughly 1 KB)Yes
Commands per registry1,000 per secYes
Commands per tenant1,000 per secYes
MQTT subscriptions to the commands topic per device connection1 per secNo

Time limits

QuotaLimitCan be increased
JWT authorization clock skew10 minNo
JWT lifetime (exp minus iat cannot exceed the limit)24 hrNo
MQTT idle time (without heartbeat or message)20 minNo
MQTT connection time24 hr**No
Command timeout60 secNo
Command retries60 secNo

**Connections may be reset occasionally (for example, for a server restart).

Quota enforcement

The consequences of exceeding quota are different for tenants and resources, such as a registries and devices:

  • tenant exceeds quota: tenant is blocked until usage is back under the limit. In rare cases, a quota enforcement period can continue even when your usage is no longer over the limit. If your tenant is still being blocked even though you're no longer exceeding any quotas, wait a while and try again.
  • Device using the MQTT bridge exceeds quota: Device is disconnected.
  • Device using the HTTP bridge exceeds quota: Device receives a RESOURCE_EXHAUSTED response.

For example, if you attempt to update a device's configuration more than once per second over the MQTT bridge, OmniCore disconnects the device. To fix the problem, ensure you publish device configurations no more than once per second, ideally once per 10 seconds, then reconnect the device. See Configuring Devices for more information.

Quota increases

Contact us

Compressed HTTP requests

As noted in Using the HTTP Bridge, a device can send gzip-compressed data to OmniCore over the HTTP bridge.

Limits for telemetry event payloads and device state payloads are calculated using the uncompressed size of each request.

For example, if a device sends a compressed telemetry event payload that is 10 KB, but the original payload before compression was 257 KB, the request fails because 257 KB exceeds the telemetry event payload limit of 256 KB.